const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.image, // 用户头像
  name: state => state.user.userInfo.username, // 用户名
  email: state => state.user.userInfo.email, // 用户邮箱
  routes: state => state.user.routes
}
export default getters
